tests/test-symbols.sh: Fix with --enable-experimental-api
authorColin Walters <walters@verbum.org>
Fri, 19 May 2017 15:00:34 +0000 (11:00 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 19 May 2017 15:02:00 +0000 (15:02 +0000)
We missed a `--no-filename` for grep with the documentation.

Closes: #875
Approved by: cgwalters

tests/test-symbols.sh

index 3ee018b0d1a8188f5dd3c5c8dc57705396d9ff7e..54f469fb56c596e63a2ae188f71b4d12e51ff96b 100755 (executable)
@@ -39,7 +39,7 @@ echo "ok exports"
 grep -E -v '(ostree_cmd__private__)|(ostree_fetcher_config_flags_get_type)' found-symbols.txt > expected-documented.txt
 
 echo "Verifying all public symbols are documented:"
-grep '^ostree_' ${G_TEST_SRCDIR}/apidoc/ostree-sections.txt $experimental_sections |sort -u > found-documented.txt
+grep --no-filename '^ostree_' ${G_TEST_SRCDIR}/apidoc/ostree-sections.txt $experimental_sections |sort -u > found-documented.txt
 diff -u expected-documented.txt found-documented.txt
 
 echo 'ok documented symbols'